//
//  AppTools.h
//  MemoryTravel
//
//  Created by dllo on 15/12/21.
//  Copyright © 2015年 fcx. All rights reserved.
//

#import <Foundation/Foundation.h>

#pragma mark -- 请求成功
typedef void (^AppToolsBlock) (id result);

#pragma mark -- 请求失败
typedef void (^ErrorBlock) (NSError *error);

@interface AppTools : NSObject

#pragma mark -- get请求
+(void)getDataWithUrlStr:(NSString *)urlStr andBlock:(AppToolsBlock)appBlock;

@end
